using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Controls;
using System.Xml.Serialization;

namespace Galaktika.BI.Extensibility.Dom.Workstation
{
    [XmlRoot(Namespace = Galaktika.BI.Silverlight.Common.Namespace)]
    public class BrickWorkstationItem : BrickObject
    {
        public BrickWorkstationItem()
        {
        }

        public BrickWorkstationItem(
            BrickActionInvoker invoker, 
            string name,
            string title,
            string description,
            bool enabled,
            string imageKey)
            : base(name, title)
        {
            this.Description = description;
            this.ActionInvoker = invoker;
            this.Enabled = enabled;
            this.ImageKey = imageKey;
        }

        public string ImageKey { get; set; }

        public bool Enabled { get; set; }

        public BrickActionInvoker ActionInvoker { get; set; }

        public string Description { get; set; }
    }
}
